package cn.wit.sst.domain;

import java.io.Serializable;

public class Score implements Serializable {
    private Long id;

    private Long sid;
    private Long sno;

    private Long cid;
    private String course;

    private Float credit;

    private Byte type;				// 课程类型 1：必修课 2：选修课

    private String courseNo;

    private Float scoreOrd;

    private Float scoreMid;

    private Float scoreEnd;

    private Float scoreExp;

    private Float scoreSup;

    private Float scoreRet;

    private Float scoreTotal;

    private String retakeMark;

    private Float gpa;

    private Byte semester;		// 学期， 1为上学期，2为下学期

    private Short startYear;

    private Short endYear;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSid() {
        return sid;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public Float getCredit() {
        return credit;
    }

    public void setCredit(Float credit) {
        this.credit = credit;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public String getCourseNo() {
        return courseNo;
    }

    public void setCourseNo(String courseNo) {
        this.courseNo = courseNo;
    }

    public Float getScoreOrd() {
        return scoreOrd;
    }

    public void setScoreOrd(Float scoreOrd) {
        this.scoreOrd = scoreOrd;
    }

    public Float getScoreMid() {
        return scoreMid;
    }

    public void setScoreMid(Float scoreMid) {
        this.scoreMid = scoreMid;
    }

    public Float getScoreEnd() {
        return scoreEnd;
    }

    public void setScoreEnd(Float scoreEnd) {
        this.scoreEnd = scoreEnd;
    }

    public Float getScoreExp() {
        return scoreExp;
    }

    public void setScoreExp(Float scoreExp) {
        this.scoreExp = scoreExp;
    }

    public Float getScoreSup() {
        return scoreSup;
    }

    public void setScoreSup(Float scoreSup) {
        this.scoreSup = scoreSup;
    }

    public Float getScoreRet() {
        return scoreRet;
    }

    public void setScoreRet(Float scoreRet) {
        this.scoreRet = scoreRet;
    }

    public Float getScoreTotal() {
        return scoreTotal;
    }

    public void setScoreTotal(Float scoreTotal) {
        this.scoreTotal = scoreTotal;
    }

    public String getRetakeMark() {
        return retakeMark;
    }

    public void setRetakeMark(String retakeMark) {
        this.retakeMark = retakeMark;
    }

    public Float getGpa() {
        return gpa;
    }

    public void setGpa(Float gpa) {
        this.gpa = gpa;
    }

    public Byte getSemester() {
        return semester;
    }

    public void setSemester(Byte semester) {
        this.semester = semester;
    }

    public Short getStartYear() {
        return startYear;
    }

    public void setStartYear(Short startYear) {
        this.startYear = startYear;
    }

    public Short getEndYear() {
        return endYear;
    }

    public void setEndYear(Short endYear) {
        this.endYear = endYear;
    }

	public Long getSno() {
		return sno;
	}

	public void setSno(Long sno) {
		this.sno = sno;
	}

	public String getCourse() {
		return course;
	}

	public void setCourse(String course) {
		this.course = course;
	}

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", sid=").append(sid);
        sb.append(", cid=").append(cid);
        sb.append(", credit=").append(credit);
        sb.append(", type=").append(type);
        sb.append(", courseNo=").append(courseNo);
        sb.append(", scoreOrd=").append(scoreOrd);
        sb.append(", scoreMid=").append(scoreMid);
        sb.append(", scoreEnd=").append(scoreEnd);
        sb.append(", scoreExp=").append(scoreExp);
        sb.append(", scoreSup=").append(scoreSup);
        sb.append(", scoreRet=").append(scoreRet);
        sb.append(", scoreTotal=").append(scoreTotal);
        sb.append(", retakeMark=").append(retakeMark);
        sb.append(", gpa=").append(gpa);
        sb.append(", semester=").append(semester);
        sb.append(", startYear=").append(startYear);
        sb.append(", endYear=").append(endYear);
        sb.append("]");
        return sb.toString();
    }
}